home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr13 / aurora2c.zip / WSKBD.AML < prev    next >
Text File  |  1995-04-07  |  23KB  |  589 lines

  1.  
  2. // ───────────────────────────────────────────────────────────────────
  3. // The Aurora Editor v2.0
  4. // Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
  5. //
  6. // WordStar/Borland IDE  Keyboard definitions (included by MAIN.AML)
  7. //
  8. // If you have made any changes, save this file and select 'Recompile
  9. // the Editor' from the Set menu. Exit and re-enter the editor for
  10. // your changes to take effect.
  11. // ───────────────────────────────────────────────────────────────────
  12.  
  13. // ───────────────────────────────────────────────────────────────────
  14. //  Edit and File Manager windows
  15. // ───────────────────────────────────────────────────────────────────
  16.  
  17.   object  edit_fmgr
  18.  
  19.   // Controls
  20.   function  '≡'                                // close window
  21.     close
  22.   end
  23.  
  24.   // Menu activation
  25.   key  <esc>           gotobar                 // to last menu bar item (ws)
  26.   key  <f10>           call <esc>              // to last menu bar item (ws)
  27.   key  <alt f10>       gotomenu                // goto last pull-down menu
  28.   key  <f1>            gotomenu "help"         // goto help pull-down menu (ws)
  29.   key  <ctrl j>        call <f1>               // goto help pull-down menu (ws)
  30.  
  31.   // alt-key access to pulldown menus
  32.   key  <alt f>         gotomenu "file"         // file menu
  33.   key  <alt w>         gotomenu "window"       // window menu
  34.   key  <alt b>         gotomenu "block"        // block menu
  35.   key  <alt s>         gotomenu "search"       // search menu
  36.   key  <alt o>         gotomenu "fold"         // fold menu
  37.   key  <alt e>         gotomenu "edit"         // edit menu
  38.   key  <alt c>         gotomenu "clip"         // clipboard menu
  39.   key  <alt p>         gotomenu "print"        // print menu
  40.   key  <alt t>         gotomenu "set"          // set menu
  41.   key  <alt a>         gotomenu "macro"        // macro menu
  42.   key  <alt h>         gotomenu "help"         // help menu
  43.  
  44.   // Scroll
  45.   key  <pgdn>          pagedown                // scroll down (ws)
  46.   key  <ctrl c>        send <pgdn>             // scroll down (ws)
  47.  
  48.   key  <pgup>          pageup                  // scroll up (ws)
  49.   key  <ctrl r>        send <pgup>             // scroll up (ws)
  50.  
  51.   key  <ctrl home>     row (getviewtop)        // to page top (ws)
  52.   key  <ctrl q><e>     send <ctrl home>        // to page top (ws)
  53.  
  54.   key  <ctrl end>      row (getviewbot)        // to page bottom (ws)
  55.   key  <ctrl q><x>     send <ctrl end>         // to page bottom (ws)
  56.  
  57.   key  <ctrl pgup>     row 1                   // to file top (ws)
  58.   key  <ctrl q><r>     send <ctrl pgup>        // to file top (ws)
  59.  
  60.   key  <ctrl pgdn>     row (getlines)          // to file bottom (ws)
  61.   key  <ctrl q><c>     send <ctrl pgdn>        // to file bottom (ws)
  62.  
  63.   key  <ctrl o><v>     adjustrow               // center cursor (ws)
  64.   key  <ctrl f9>       adjustrow 1             // scroll to page top
  65.   key  <ctrl f10>      adjustrow (getviewrows) // scroll to page bottom
  66.  
  67.   // scroll up one line (ws)
  68.   key  <ctrl up>
  69.     rollrow -1
  70.     if getrow < getviewbot then
  71.       down
  72.     end
  73.   end
  74.   key  <ctrl w>  call <ctrl up>
  75.  
  76.   // scroll down one line (ws)
  77.   key  <ctrl down>
  78.     rollrow 1
  79.     if getrow > getviewtop then
  80.       up
  81.     end
  82.   end
  83.   key  <ctrl z>  call <ctrl down>
  84.  
  85.   key  <ctrl q><p>     lastpos                 // to last cursor position (ws)
  86.  
  87.   // File
  88.   key  <ctrl k><e>     askopen                 // open prompt (ws)
  89.   key  <f3>            call <ctrl k><e>        // open prompt (ws)
  90.   key  <alt z>         openlast                // open last window
  91.   key  <alt 0>         filelist                // file list (ws)
  92.   key  <ctrl k><q>     close                   // close window (ws)
  93.   key  <alt x>         closeall                // close all windows (ws)
  94.   key  <shift f1>      quickref 'qw'           // quick function reference
  95.   key  <shift f2>      quickref 'fw'           // function reference
  96.  
  97.   // Window
  98.   key  <f5>            maximize                // maximize window (ws)
  99.   key  <f6>            nextwindow              // next window (ws)
  100.   key  <shift f6>      prevwindow              // prev window
  101.   key  <shift f3>      tile 'v'                // tile vertical
  102.   key  <shift f4>      tile 'h'                // tile horizontal
  103.   key  <shift f5>      cascade                 // cascade
  104.   key  <alt f3>        deletewin               // close window (ws)
  105.  
  106.   // Search
  107.   key  <ctrl o><s>     askscan                 // file scan prompt
  108.   key  <ctrl q><b>     gotomark 't'            // find top of block (ws)
  109.   key  <ctrl q><k>     gotomark 'b'            // find bot of block (ws)
  110.   key  <ctrl 6>        cyclebook               // cycle through bookmarks
  111.  
  112.   // Print
  113.   key  <ctrl k><p>     print 'b'               // print block (ws)
  114.  
  115.   // Set
  116.   key  <ctrl f1>       togglemode              // toggle video mode
  117.   key  <alt f9>        recompile               // recompile the editor (ws)
  118.  
  119.   // Macro
  120.   key  <alt f8>        askruncap               // DOS capture prompt
  121.   key  <ctrl k><f>     shell                   // exit to DOS (ws)
  122.  
  123.  
  124.   // undefined or unnamed keys
  125.   key <otherkey> (keycode)
  126.     say (getkeyname (keycode)) + " not defined"
  127.   end
  128.  
  129.  
  130. // ───────────────────────────────────────────────────────────────────
  131. //  Prompts and Edit windows
  132. // ───────────────────────────────────────────────────────────────────
  133.  
  134.   object  prompt
  135.  
  136.   // Controls
  137.   function  '≡'                                // close window
  138.     close
  139.   end
  140.  
  141.   function  '*'                                // simulate <enter>
  142.     call <enter>                               //  (2-line box only)
  143.   end
  144.  
  145.   // Cursor
  146.   key  <left>          left                    // move cursor left (ws)
  147.                        smark                   // cua marking
  148.   key  <ctrl s>        call <left>             // move cursor left (ws)
  149.  
  150.   key  <right>         right                   // move cursor right (ws)
  151.                        smark                   // cua marking
  152.   key  <ctrl d>        call <right>            // move cursor right (ws)
  153.  
  154.   key  <home>          col 1                   // to column one (ws)
  155.                        smark                   // cua marking
  156.   key  <ctrl q><s>     call <home>             // to column one (ws)
  157.  
  158.   key  <end>           col  getlinelen + 1     // to end of line (ws)
  159.                        smark                   // cua marking
  160.   key  <ctrl q><d>     call <end>              // to end of line (ws)
  161.  
  162.   // Scroll
  163.   key  <f7>            rollcol -(getviewcols - 1)   // page left
  164.   key  <f8>            rollcol   getviewcols - 1    // page right
  165.  
  166.   // Editing
  167.   key  <ins>           setting 'I' TOGGLE      // toggle insert mode (ws)
  168.   key  <ctrl v>        call <ins>              // toggle insert mode (ws)
  169.  
  170.   key  <del>           delchar                 // delete character (ws)
  171.   key  <ctrl g>        call <del>              // delete character (ws)
  172.  
  173.   key  <backspace>     backsp                  // delete left character (ws)
  174.   key  <ctrl h>        call <backspace>        // delete left character (ws)
  175.  
  176.   key  <ctrl q><y>     delchar (getlinelen)    // erase to end of line (ws)
  177.   key  <ctrl q><del>   delchar getcol - 1 1    // erase to beginning of line (ws)
  178.   key  <ctrl p>        literal                 // enter literal character (ws)
  179.   key  <alt =>         asciilist               // display ascii chart
  180.  
  181.   // Block
  182.  
  183.   // mark block
  184.   function  markblock
  185.     if _mtype == 'k' then
  186.       markcolumn
  187.     else
  188.       markstream
  189.     end
  190.   end
  191.  
  192.   // toggle between stream and column marking
  193.   function  marktoggle
  194.     set _mtype  if? _mtype == 'k' '' 'k'
  195.     say "Column marking turned " + (if? _mtype == 'k' "On" "Off")
  196.   end
  197.  
  198.   // mark block (ws)
  199.   key  <ctrl k><b>     markblock
  200.   key  <ctrl k><k>     call <ctrl k><b>
  201.  
  202.   // toggle column mode (ws)
  203.   key  <ctrl k><n>     marktoggle
  204.  
  205.   key  <ctrl k><t>     markword                // mark word (ws)
  206.   key  <ctrl k><h>     destroymark             // unmark (ws)
  207.   key  <alt 2>         markeol                 // mark to end of line
  208.  
  209.   // copy block to prompt
  210.   key  <ctrl k><c>
  211.                        instext (getmarktext)
  212.                        col  getlinelen + 1
  213.  
  214.   // paste from clipboard to prompt
  215.   key  <grey*>
  216.                        usemark _ClipName
  217.                        instext (getmarktext)
  218.                        usemark
  219.                        col  getlinelen + 1
  220.   key  <shift ins>     call <grey*>
  221.  
  222.   // copy from prompt to clipboard
  223.   key  <grey+>         copy
  224.   key  <ctrl ins>      copy
  225.  
  226.   // Prompt history
  227.   key  <up>            prevhist                // retrieve prev prompt
  228.   key  <down>          nexthist                // retrieve next prompt
  229.   key  <pgup>          askhistory              // history popup menu
  230.   key  <pgdn>          askhistory              // history popup menu
  231.  
  232.   // Exit
  233.   key  <esc>           close                   // quit prompt
  234.   key  <ctrl k><q>     close                   // quit prompt (ws)
  235.  
  236.   // non-function keys
  237.   key  <char> (character)                      // typeable keys
  238.     write character
  239.   end
  240.  
  241.   // filename completion
  242.   key  <ctrl tab>      askcomplete             // filename completion
  243.   key  <tab>           askcomplete             // filename completion
  244.   end
  245.  
  246.  
  247. // ───────────────────────────────────────────────────────────────────
  248. //  Edit windows
  249. // ───────────────────────────────────────────────────────────────────
  250.  
  251.   object  edit
  252.  
  253.   // Controls
  254.   function  '≡'
  255.     close                                      // close window
  256.   end
  257.  
  258.   // Menu
  259.   key  <esc>           gotobar                 // to last menu bar item
  260.  
  261.   // Cursor
  262.   key  <up>            up                      // move cursor up (ws)
  263.                        smark                   // cua marking
  264.   key  <ctrl e>        call <up>               // move cursor up (ws)
  265.  
  266.   key  <down>          down                    // move cursor down (ws)
  267.                        smark                   // cua marking
  268.   key  <ctrl x>        call <down>             // move cursor down (ws)
  269.  
  270.   key  <enter>         enter                   // enter key (ws)
  271.   key  <ctrl m>        enter                   // enter key (ws)
  272.   key  <greyenter>     enter                   // keypad enter key
  273.  
  274.   key  <del>           delchar2                // delete character (ws)
  275.   key  <backspace>     backsp                  // delete left char (ws)
  276.   key  <ctrl t>        delword _CSet           // delete right word (ws)
  277.   key  <tab>           tabright                // tab right (ws)
  278.   key  <ctrl i>        call <tab>
  279.   key  <shift tab>     tableft                 // tab left
  280.  
  281.   key  <ctrl left>     prevword                // find left word (ws)
  282.                        smark
  283.   key  <ctrl a>        call <ctrl left>        // find left word (ws)
  284.  
  285.   key  <ctrl right>    nextword                // find right word (ws)
  286.                        smark
  287.   key  <ctrl f>        call <ctrl right>       // find right word (ws)
  288.  
  289.   // Scroll
  290.   key  <pgdn>          pagedown                // scroll down (ws)
  291.                        display
  292.                        smark
  293.  
  294.   key  <pgup>          pageup                  // scroll up (ws)
  295.                        display
  296.                        smark
  297.  
  298.   key  <ctrl home>     row (getviewtop)        // to page top (ws)
  299.                        smark
  300.  
  301.   key  <ctrl end>      row (getviewbot)        // to page bottom (ws)
  302.                        smark
  303.  
  304.   key  <ctrl pgup>     row 1                   // to file top (ws)
  305.                        smark
  306.  
  307.   key  <ctrl pgdn>     row (getlines)          // to file bottom (ws)
  308.                        smark
  309.  
  310.   // File
  311.   key  <ctrl k><r>     askinsert               // open and insert prompt (ws)
  312.   key  <ctrl ]>        openword                // open file at cursor
  313.   key  <alt n>         askname                 // rename prompt
  314.   key  <ctrl k><s>     save                    // save file (ws)
  315.   key  <f2>            call <ctrl k><s>        // save file (ws)
  316.   key  <f4>            open "*.*"              // display file manager
  317.   key  <ctrl k><q>     close                   // close file/window (ws)
  318.   key  <ctrl k><x>     close 's'               // save & close file/window (ws)
  319.   key  <ctrl k><d>     call <ctrl k><x>        // save & close file/window (ws)
  320.  
  321.   // Window
  322.   key  <ctrl q><w>     copywin                 // copy window
  323.   key  <ctrl q><v>     splitwin 'v'            // split window vertical
  324.   key  <ctrl f8>       toolbar                 // display tool bar
  325.   key  <ctrl f4>       togglestyle             // toggle window style
  326.  
  327.   // Block
  328.   key  <ctrl k><l>     markline                // mark line (ws)
  329.   key  <alt 3>         markpara "tb"           // mark paragraph
  330.   key  <ctrl k><c>     copyblock2              // copy block (ws)
  331.   key  <ctrl k><z>     copyblockover           // overlay block
  332.   key  <ctrl k><v>     moveblock2              // move block (ws)
  333.   key  <ctrl k><y>     deleteblock2            // delete block (ws)
  334.   key  <ctrl k><u>     shiftblock -1           // unindent block (ws)
  335.   key  <ctrl k><i>     shiftblock  1           // indent block (ws)
  336.   key  <ctrl b>        formatblock2 "kr"       // reformat block (ws)
  337.   key  <alt y>         formatblock2 "rj"       // reformat & right just block
  338.   key  <ctrl k><w>     saveblock2              // save block (ws)
  339.   key  <ctrl k><o>     sortblock2              // sort block
  340.   key  <shift f9>      quote                   // quote a block
  341.  
  342.   // Search
  343.   key  <ctrl q><f>     askfind                 // find prompt (ws)
  344.   key  <ctrl q><a>     askrepl                 // replace prompt (ws)
  345.   key  <ctrl q><i>     isearch                 // incremental search
  346.   key  <ctrl l>        findlast                // do last find/replace (ws)
  347.  
  348.   function  findchar (reverse)
  349.     say (if? reverse '' '') + " Find what character:"
  350.     character = getkey
  351.     if character <> <esc> then
  352.       search2 (char character)  reverse
  353.     end
  354.   end
  355.  
  356.   key  <ctrl q><g>     findchar                // find char (ws)
  357.   key  <ctrl q><h>     findchar 'r'            // find char reverse (ws)
  358.  
  359.   key  <ctrl 2>        quickbook               // set quick bookmark
  360.  
  361.   // place bookmarks (ws)
  362.   key  <ctrl k><0>     placebook '0'
  363.   key  <ctrl k><1>     placebook '1'
  364.   key  <ctrl k><2>     placebook '2'
  365.   key  <ctrl k><3>     placebook '3'
  366.   key  <ctrl k><4>     placebook '4'
  367.   key  <ctrl k><5>     placebook '5'
  368.   key  <ctrl k><6>     placebook '6'
  369.   key  <ctrl k><7>     placebook '7'
  370.   key  <ctrl k><8>     placebook '8'
  371.   key  <ctrl k><9>     placebook '9'
  372.  
  373.   // goto bookmarks (ws)
  374.   key  <ctrl q><0>     gotobook2 '0'
  375.   key  <ctrl q><1>     gotobook2 '1'
  376.   key  <ctrl q><2>     gotobook2 '2'
  377.   key  <ctrl q><3>     gotobook2 '3'
  378.   key  <ctrl q><4>     gotobook2 '4'
  379.   key  <ctrl q><5>     gotobook2 '5'
  380.   key  <ctrl q><6>     gotobook2 '6'
  381.   key  <ctrl q><7>     gotobook2 '7'
  382.   key  <ctrl q><8>     gotobook2 '8'
  383.   key  <ctrl q><9>     gotobook2 '9'
  384.  
  385.   key  <ctrl q><j>     askrow                  // go to line prompt
  386.   key  <alt 7>         search2 "f/f"           // go to next fold
  387.   key  <ctrl q><ctrl [>  gotomatch2            // find matching char (ws)
  388.   key  <ctrl q><[>     call <ctrl q><ctrl [>
  389.   key  <ctrl q><]>     call <ctrl q><ctrl [>
  390.   key  <alt f7>        gotoerror               // go to compiler error
  391.  
  392.   // Fold
  393.   key  <alt 8>         foldline                // fold next line
  394.   key  <alt 9>         foldline 'u'            // unfold next line
  395.   key  <alt g>         destroyfold2            // destroy closed/open fold
  396.   key  <alt \>                                 // open or close fold
  397.     if fold? then
  398.        openfold
  399.     else
  400.        closefold
  401.     end
  402.   end
  403.   key  <alt [>         foldall 'os'            // open all folds
  404.   key  <alt ]>         foldall 'cs'            // close all folds
  405.  
  406.   // Edit
  407.   key  <ctrl u>        undo                    // undo last change (ws)
  408.   key  <ctrl q><l>     undo                    // undo last change (ws)
  409.   key  <ctrl o><r>     redo                    // redo last change
  410.   key  <ctrl enter>    insline2                // insert line
  411.   key  <ctrl y>        delline                 // delete line (ws)
  412.   key  <ctrl n>        splitline2              // split line (ws)
  413.   key  <alt j>         joinline                // join line
  414.   key  <alt 4>         insline (gettext)       // duplicate line
  415.   key  <alt 5>         swapline                // swap line
  416.   key  <ctrl o><c>     centerline              // center line (ws)
  417.   key  <alt f1>        commentline             // comment/uncomment line
  418.   key  <ctrl q><o>     timestamp               // date/time stamp (ws)
  419.   key  <ctrl \>        hiliteword              // highlight words
  420.  
  421.   // Clipboard
  422.   key  <grey->         cut                     // cut
  423.   key  <shift del>     cut                     // cut
  424.   key  <ctrl grey->    cut 'a'                 // cut append
  425.   key  <grey+>         copy                    // copy
  426.   key  <ctrl ins>      copy                    // copy
  427.   key  <ctrl grey+>    copy 'a'                // copy append
  428.   key  <grey*>         paste                   // paste
  429.   key  <shift ins>     paste                   // paste
  430.   key  <ctrl grey*>    paste 'o'               // paste over
  431.   key  <ctrl grey/>    clear                   // clear clipboard
  432.  
  433.   // Set
  434.   key  <ctrl o><w>     setting 'L' TOGGLE      // live word wrap toggle (ws)
  435.   key  <ctrl o><i>     setting 'A' TOGGLE      // autoindent toggle (ws)
  436.   key  <alt f4>        setting 'T' TOGGLE      // text translate toggle
  437.  
  438.   // Macro
  439.   key  <shift f10>     compilemacro2 (getbufname)  // compile current file
  440.   key  <shift f11>     runmacro2 (getbufname)      // run current file
  441.   key  <shift f12>     pickmacro                   // macro picklist
  442.  
  443.   // non-function (typeable) keys
  444.   key  <char> (character)                      // typeable keys
  445.     write character
  446.   end
  447.  
  448.   // Other
  449.   key  <ctrl q><q>     askrepkey               // repeat entered keys (ws)
  450.  
  451.   // invoke a spell checker from within an edit window
  452.   // (replace 'jspell' with your favorite spell checker)
  453.   key  <f11>
  454.     save                                       // save the current file
  455.     run  "jspell " + getbufname  "ck"          // call spellchecker
  456.     reopen                                     // reopen current file
  457.   end
  458.  
  459. // ───────────────────────────────────────────────────────────────────
  460. //  File Manager windows
  461. // ───────────────────────────────────────────────────────────────────
  462.  
  463.   object  fmgr
  464.  
  465.   // Menu activation
  466.   key  <tab>           gotobar2                // to drive menu bar
  467.   key  <alt c>         gotomenu "command"      // command pull-down
  468.  
  469.   // Cursor
  470.   key  <left>          rollcol -1              // scroll left one column
  471.   key  <right>         rollcol  1              // scroll right one column
  472.   key  <home>          col 1                   // scroll to column one
  473.  
  474.   // move cursor up
  475.   key  <up>
  476.     if shiftkey? then
  477.       fmark
  478.     end
  479.     up
  480.   end
  481.  
  482.   // move cursor down
  483.   key  <down>
  484.     if shiftkey? then
  485.       fmark
  486.     end
  487.     down
  488.   end
  489.  
  490.   // file manager commands (single character command codes)
  491.   key  <char> (c)
  492.  
  493.     // toggle file mark
  494.     if c == ' ' then
  495.       fmark
  496.  
  497.     // <shift-character> commands
  498.     elseif shiftkey? then
  499.       case  locase c
  500.         when 'o'     fopen 'o'                   // open file/directory
  501.         when 'e'     fopen 'e'                   // open file/directory
  502.         when 'z'     fopen "ze"                  // open maximized
  503.         when 'b'     fopen 'b'                   // open binary file
  504.         when 'y'     fopen "be"                  // open binary in one window
  505.         when 'k'     openkey2 (getffile)         // open key macro file
  506.         when 'm'     fmove                       // move file
  507.         when 'c'     fcopy                       // copy file
  508.         when 'd'     fdelete                     // delete file
  509.         when 'n'     frename                     // rename file
  510.         when 'r'     frun 'c'                    // run program/batch file
  511.         when 'p'     fprint                      // print file
  512.         when 'a'     fattr                       // change file attributes
  513.         when 't'     ftouch                      // touch file
  514.  
  515.         // spell checker
  516.         when 's'     run "jspell " + getffile  "ck"
  517.  
  518.         // unarchive .ZIP or .LZH files
  519.         when 'u'
  520.           f = getffile
  521.           run (if? (pos ".lzh" f 'i') "lha e " "pkunzip ") + f  "ck"
  522.           reopen
  523.  
  524.         // view .ZIP or .LZH archives
  525.         when 'v'
  526.           f = getffile
  527.           runcap (if? (pos ".lzh" f 'i') "lha v " "pkunzip -v ") + f
  528.       end
  529.  
  530.     // hotkey to files
  531.     else
  532.       onhotkey c
  533.     end
  534.  
  535.   // File
  536.   key  <ctrl backspace>   fup                  // parent directory
  537.  
  538.   // Mark
  539.   key  <alt m>         fmark "ma"              // mark all files
  540.   key  <alt u>         fmark "ua"              // unmark all
  541.  
  542.   // Command
  543.   key  <enter>         fopen '1'               // open file (one only)
  544.   key  <ctrl enter>    fopen 'q'               // open file (close fmgr)
  545.   key  <del>           fdelete                 // delete file
  546.  
  547.   // Sort
  548.   key  <alt n>         fsort 'n'               // sort by name
  549.   key  <alt s>         fsort 's'               // sort by size
  550.   key  <alt d>         fsort 'd'               // sort by date/time
  551.   key  <alt o>         fsort 'o'               // no sort (DOS order)
  552.  
  553.   // Print
  554.   key  <ctrl k><p>     print                   // print fmgr contents
  555.   end
  556.  
  557.  
  558. // ───────────────────────────────────────────────────────────────────
  559. //  Movable/Sizable windows
  560. // ───────────────────────────────────────────────────────────────────
  561.  
  562.   object  win
  563.  
  564.   key  <ctrl f5>       sizekey                 // move/size with kbd (ws)
  565.   key  <ctrl f6>       pankey                  // pan video with kbd
  566.  
  567.   key  <alt ins>       sizewin -2 -1 -2 -1 2   // move window northwest
  568.   key  <alt del>       sizewin  2  1  2  1 2   // move window southeast
  569.   end
  570.  
  571.  
  572. // ───────────────────────────────────────────────────────────────────
  573. //  All windows
  574. // ───────────────────────────────────────────────────────────────────
  575.  
  576.   object  mon
  577.  
  578.   key  <alt f5>        showentry               // show entry screen (ws)
  579.  
  580.   // key macros (ws)
  581.   key  <ctrl f7>       record                  // toggle record setting
  582.   key  <shift f7>      play                    // play scrap key macro
  583.  
  584.   // define multi-key prefixes
  585.   key  <ctrl k>        prefix <ctrl k>         // define <ctrl k> prefix
  586.   key  <ctrl o>        prefix <ctrl o>         // define <ctrl o> prefix
  587.   key  <ctrl q>        prefix <ctrl q>         // define <ctrl q> prefix
  588.  
  589.